Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Transfer cache speed test #6362

Merged
merged 18 commits into from
Jan 20, 2025
Merged

Conversation

leonardehrenfried
Copy link
Member

Summary

It turns out we have a pretty big blind spot in our speed tests: transfer cache computation is not measured at all. This is added in this PR.

You can see a preview of this data here: https://tinyurl.com/224xmjfe

Issue

Relates to #6357

Copy link

codecov bot commented Jan 6, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 69.73%. Comparing base (d9398b6) to head (4d50bdc).
Report is 114 commits behind head on dev-2.x.

✅ All tests successful. No failed tests found.

Additional details and impacted files
@@              Coverage Diff              @@
##             dev-2.x    #6362      +/-   ##
=============================================
- Coverage      69.80%   69.73%   -0.07%     
- Complexity     17944    18025      +81     
=============================================
  Files           2046     2057      +11     
  Lines          76678    76970     +292     
  Branches        7830     7846      +16     
=============================================
+ Hits           53526    53677     +151     
- Misses         20411    20546     +135     
- Partials        2741     2747       +6     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@leonardehrenfried leonardehrenfried force-pushed the transfer-cache-speed-test branch from ebbee33 to 25ffb73 Compare January 14, 2025 12:10
@leonardehrenfried
Copy link
Member Author

I have extracted the transfer cache test into a separate file that is run separately.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good to me. Just a minor comment

*/
class SetupHelper {

static LoadModel loadGraph(File baseDir, URI path) {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

path should be @Nullable here

@leonardehrenfried leonardehrenfried merged commit 8e9411a into dev-2.x Jan 20, 2025
5 checks passed
@leonardehrenfried leonardehrenfried deleted the transfer-cache-speed-test branch January 20, 2025 07:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants